<div class="ibox float-e-margins" th:id="'div_'+${num}+''" >
    <div class="ibox-title">
        <h5>工作任务</h5><span style="float:right;position:relative; width:80px;height:20px;" class="bs-glyphicons glyphicon glyphicon-minus">
                    <span th:onclick="|delTask(${num})|"><a>删除任务</a></span>
                </span>
    </div>
    <div class="ibox-content">
        <div class="form-group">
            <label class="col-sm-3 control-label">产品/项目：</label>
            <div class="col-sm-8">
                <select th:name="'weeklyJobs['+${num}+'].productType'" onChange="selectProduct(this)" class="form-control">
                    <option value="">请选择</option>
                    <option value="0">产品</option>
                    <option value="1">项目</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">产品/项目名称：</label>
            <div class="col-sm-8">
                <select th:name="'weeklyJobs['+${num}+'].productId'" id="aaa" class="form-control">
                    <option value="">请选择产品/项目</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">需求来源：</label>
            <div class="col-sm-8">
                <select th:name="'weeklyJobs['+${num}+'].projectId'" class="form-control " th:with="project=${@sysProjectService.selectSysProjectList(null)}">
                    <option value="0">本部</option>
                    <option th:each="p : ${project}" th:text="${p.projectName}" th:value="${p.projectId}"></option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">本周进度是否延期：</label>
            <div class="col-sm-8">
                <div class="radio check-box">
                    <label>
                        <input type="radio" value="0" th:name="'weeklyJobs['+${num}+'].isDelay'"> <i></i> 正常</label>
                </div>
                <div class="radio check-box">
                    <label>
                        <input type="radio" checked="" value="1" th:name="'weeklyJobs['+${num}+'].isDelay'"> <i></i> 延期</label>
                </div>
            </div>
        </div>
        <div class="form-group" shiro:hasRole="groupLeader">
            <label class="col-sm-3 control-label"><span style="color: red">*</span>项目进度(%)：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].progress'" class="form-control" type="text" digits="true" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label"><span style="color: red">*</span>本周工作内容：</label>
            <div class="col-sm-8">
                <textarea th:name="'weeklyJobs['+${num}+'].jobContent'" class="form-control" required></textarea>
            </div>
        </div>
        <div class="form-group" shiro:hasRole="groupLeader">
            <label class="col-sm-3 control-label"><span style="color: red">*</span>下周工作计划：</label>
            <div class="col-sm-8">
                <textarea th:name="'weeklyJobs['+${num}+'].jobPlan'" class="form-control" required></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">计划完成需求数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].planDemandAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">实际完成需求数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].actualDemandAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">计划完成任务数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].planTaskAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">实际完成任务数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].actualTaskAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>

        <div class="form-group" shiro:hasRole="developer">
            <label class="col-sm-3 control-label">产品转测数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].toTestAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="developer">
            <label class="col-sm-3 control-label">新增缺陷数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].newBugAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="developer">
            <label class="col-sm-3 control-label">修复缺陷数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].fixBugAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="productManager">
            <label class="col-sm-3 control-label">产品体验数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].productExperienceAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="productManager">
            <label class="col-sm-3 control-label">产品体验通过数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].productExperiencePassAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="productManager">
            <label class="col-sm-3 control-label">产品设计评审会议数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].designReviewAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="productManager">
            <label class="col-sm-3 control-label">产品设计评审会议通过数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].designReviewPassAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="tester">
            <label class="col-sm-3 control-label">发现缺陷数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].detectBugAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="tester">
            <label class="col-sm-3 control-label">关闭缺陷数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].closeBugAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group" shiro:hasRole="operationEngineer">
            <label class="col-sm-3 control-label">配置项目产品数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].deployProductAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">文档贡献数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].documentAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">培训数量：</label>
            <div class="col-sm-8">
                <input th:name="'weeklyJobs['+${num}+'].trainingAmount'" class="form-control" type="text" digits="true">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">备注：</label>
            <div class="col-sm-8">
                <textarea th:name="'weeklyJobs['+${num}+'].remark'" class="form-control"></textarea>
            </div>
        </div>
    </div>
</div>
